package com.evil.application.pojo.bo.application.judge;

import cn.hutool.core.bean.BeanUtil;
import com.evil.application.pojo.entity.ApplicationJudge;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

/**
 * @author liyang\
 * @date 2022-08-08 00:00
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ApplicationJudgeBO extends ApplicationJudge {

    private List<ApplicationJudgeBO> children;

    public ApplicationJudgeBO() {
        this.children = new ArrayList<>();
    }

    public ApplicationJudgeBO(ApplicationJudge applicationJudge) {
        BeanUtil.copyProperties(applicationJudge, this);
        this.children = new ArrayList<>();
    }


}
